﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ExtBusiness;
using ExtBusiness.Admin;

public partial class QueryAndCollect_TaskProcessView : PageBase
{
    public string Inputindex = string.Empty;
    public string strIid = string.Empty;
    public string ResServerPath = string.Empty;
    public bool ISsystemUser = true;
    public string strWiid = "";
    public string ServerPath = "";
    protected void Page_Load(object sender, System.EventArgs e)
    {
        Inputindex = "";
        strIid = Request["iid"];
        strWiid = Request["ItemId"];
        //判断是否是超级管理员（可修改数据）
        Common.ConfigHelper config = new Common.ConfigHelper(true);
        String strDataRepairUserId = config.GetAppSettingsValue("DataRepairUserId");
        if (strDataRepairUserId.ToUpper().Trim() == UserId.ToUpper().Trim())
        {
            Inputindex = "0";
        }
        //判断当前登录用户是否为超级管理员
        ISsystemUser = SystemManager.IsSystemUser(UserId);
        //工作流引擎
        ServerPath = SystemConfig.NetoWsUrl;
        //表单路径
        ResServerPath = string.Format("{0}?iid={1}&UserId={2}",SystemConfig.NewWebDisplay, strIid, UserId);
    }
}
